/**
 * 
 */
package cn.ad.server.web.servlet.v2.parser;

import cn.ad.server.web.spring.model.IAdserverRequest;
import cn.ad.server.web.spring.model.IAdserverResponse;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @author Wu Chengjun
 *
 */
public abstract class HttpServletParserAdapter implements HttpServletParser {

	/**
	 * 
	 */
	public HttpServletParserAdapter() {
	}

	/* (non-Javadoc)
	 * @see cn.falconnect.adserver.adapter.HttpServletParser#parse(javax.servlet.http.HttpServletRequest)
	 */
	@Override
	public IAdserverRequest parse(HttpServletRequest request) throws AdRequestParseException {
		return null;
	}

	/*
	 * (non-Javadoc)
	 * @see cn.falconnect.adserver.adapter.HttpServletParser#writeResponse(cn.falconnect.adserver.adapter.IAdserverResponse, javax.servlet.http.HttpServletResponse)
	 */
	@Override
	@Deprecated
	public void writeResponse(IAdserverResponse adResponse, HttpServletResponse response) throws AdRequestParseException {
	
	}

	@Override
	public void writeResponse(IAdserverRequest adRequest, IAdserverResponse adResponse, HttpServletRequest request,
			HttpServletResponse response) throws AdRequestParseException {
	}
}
